// import {request} from '@/plugins/axios'
// import {getRoleNames, getPlatformId} from "@/utils/session_storage"
// import ApiPath from '@/utils/api_paths'
import menuData from '@/data/menu'

export function getMenus() {
    return new Promise(resolve => {
        resolve({
            code: 200,
            msg: 'success',
            data: menuData
        })
    })
}
/*export function getMenus() {
    return request({
        url: ApiPath.menu.getMenus,
        method: 'post',
        data: {'roleNames': getRoleNames(), 'platformId': getPlatformId()}
    })
}*/

